let prefix = "";

let emoji = {
  faceList: [
    { type: "emoji", label: "😀" },
    { label: `${prefix}/static/emoji/smile.webp` },
  ],
  emojiList: [
    [
      { type: "emoji", label: "😀" },
      { type: "emoji", label: "😂" },
      { type: "emoji", label: "😮" },
      { type: "emoji", label: "😍" },
      { type: "emoji", label: "😘" },
      { type: "emoji", label: "😚" },
      { type: "emoji", label: "🤩" },
      { type: "emoji", label: "🥰" },
      { type: "emoji", label: "😋" },
      { type: "emoji", label: "😛" },
      { type: "emoji", label: "😜" },
      { type: "emoji", label: "😝" },
      { type: "emoji", label: "🤑" },
      { type: "emoji", label: "🤪" },
      { type: "emoji", label: "🤔" },
      { type: "emoji", label: "🤗" },
      { type: "emoji", label: "🤫" },
      { type: "emoji", label: "🤭" },
      { type: "emoji", label: "😏" },
      { type: "emoji", label: "🙄" },
      { type: "emoji", label: "😐" },
      { type: "emoji", label: "😑" },
      { type: "emoji", label: "😒" },
      { type: "emoji", label: "😌" },
      { type: "emoji", label: "😴" },
      { type: "emoji", label: "😵" },
      { type: "emoji", label: "😷" },
      { type: "emoji", label: "🤕" },
      { type: "emoji", label: "😷" },
      { type: "emoji", label: "🤢" },
      { type: "emoji", label: "🤠" },
      { type: "emoji", label: "😎" },
      { type: "emoji", label: "😱" },
      { type: "emoji", label: "🥺" },
      { type: "emoji", label: "😡" },
    ],
    [
      { label: "[口罩]", value: `${prefix}/static/emoji/kouzhao.webp` },
      { label: "[狗头]", value: `${prefix}/static/emoji/goutou.webp` },
      { label: "[微笑]", value: `${prefix}/static/emoji/smile.webp` },
      { label: "[OK]", value: `${prefix}/static/emoji/ok.webp` },
      { label: "[星星眼]", value: `${prefix}/static/emoji/star.webp` },
      { label: "[辣眼睛]", value: `${prefix}/static/emoji/layanjing.webp` },
      { label: "[吃瓜]", value: `${prefix}/static/emoji/huaji.webp` },
      { label: "[滑稽]", value: `${prefix}/static/emoji/chigua.webp` },
      { label: "[呲牙]", value: `${prefix}/static/emoji/teeth.webp` },
      { label: "[打call]", value: `${prefix}/static/emoji/dacall.webp` },
      { label: "[喝酒]", value: `${prefix}/static/emoji/hejiu.webp` },
      { label: "[乖]", value: `${prefix}/static/emoji/guai.webp` },
      { label: "[吐舌]", value: `${prefix}/static/emoji/tushe.webp` },
      { label: "[汗]", value: `${prefix}/static/emoji/han.webp` },
      { label: "[大哭2]", value: `${prefix}/static/emoji/daku.webp` },
      { label: "[超赞]", value: `${prefix}/static/emoji/chaozan.webp` },
      { label: "[超开心]", value: `${prefix}/static/emoji/chaokaixin.webp` },
      { label: "[委屈]", value: `${prefix}/static/emoji/weiqu.webp` },
      { label: "[困狗]", value: `${prefix}/static/emoji/kungou.webp` },
      { label: "[藏狐]", value: `${prefix}/static/emoji/zanghu.webp` },
      { label: "[脸红]", value: `${prefix}/static/emoji/lianhong.webp` },
      { label: "[脱单doge]", value: `${prefix}/static/emoji/doge.webp` },
      { label: "[给心心]", value: `${prefix}/static/emoji/heart.webp` },
      { label: "[笑]", value: `${prefix}/static/emoji/dx.webp` },
      { label: "[哦呼]", value: `${prefix}/static/emoji/oh.webp` },
      { label: "[嫌弃]", value: `${prefix}/static/emoji/xq.webp` },
      { label: "[喜欢]", value: `${prefix}/static/emoji/like.webp` },
      { label: "[酸了]", value: `${prefix}/static/emoji/sl.webp` },
      { label: "[大哭]", value: `${prefix}/static/emoji/dq.webp` },
      { label: "[害羞]", value: `${prefix}/static/emoji/hx.webp` },
      { label: "[无语]", value: `${prefix}/static/emoji/wy.webp` },
      { label: "[疑惑]", value: `${prefix}/static/emoji/yh.webp` },
      { label: "[调皮]", value: `${prefix}/static/emoji/tiaopi.webp` },
      { label: "[笑哭]", value: `${prefix}/static/emoji/xiaoku.webp` },
      { label: "[奸笑]", value: `${prefix}/static/emoji/jianxiao.webp` },
      { label: "[偷笑]", value: `${prefix}/static/emoji/touxiao.webp` },
      { label: "[阴险]", value: `${prefix}/static/emoji/yinxian.webp` },
      { label: "[捂脸]", value: `${prefix}/static/emoji/wulian.webp` },
      { label: "[无语]", value: `${prefix}/static/emoji/wy.webp` },
      { label: "[妙啊]", value: `${prefix}/static/emoji/miaoa.webp` },
      { label: "[鼓掌]", value: `${prefix}/static/emoji/guzhang.webp` },
      { label: "[尴尬]", value: `${prefix}/static/emoji/ganga.webp` },
      { label: "[冷]", value: `${prefix}/static/emoji/cold.webp` },
      {
        label: "[灵魂出窍]",
        value: `${prefix}/static/emoji/linghunchuqiao.webp`,
      },
      { label: "[傲娇]", value: `${prefix}/static/emoji/aojiao.webp` },
      { label: "[疼]", value: `${prefix}/static/emoji/teng.webp` },
      { label: "[吓]", value: `${prefix}/static/emoji/xia.webp` },
      { label: "[生病]", value: `${prefix}/static/emoji/shengbing.webp` },
      { label: "[吐]", value: `${prefix}/static/emoji/tu.webp` },
      { label: "[嘘声]", value: `${prefix}/static/emoji/xusheng.webp` },
      { label: "[捂眼]", value: `${prefix}/static/emoji/wuyan.webp` },
      { label: "[思考]", value: `${prefix}/static/emoji/sikao.webp` },
      { label: "[再见]", value: `${prefix}/static/emoji/zaijian.webp` },
      { label: "[翻白眼]", value: `${prefix}/static/emoji/fanbaiyan.webp` },
      { label: "[哈欠]", value: `${prefix}/static/emoji/haqian.webp` },
      { label: "[奋斗]", value: `${prefix}/static/emoji/fengdou.webp` },
      { label: "[墨镜]", value: `${prefix}/static/emoji/mojing.webp` },
      { label: "[撇嘴]", value: `${prefix}/static/emoji/piezui.webp` },
      { label: "[难过]", value: `${prefix}/static/emoji/nanguo.webp` },
      { label: "[抓狂]", value: `${prefix}/static/emoji/zhuakuang.webp` },
      { label: "[生气]", value: `${prefix}/static/emoji/shengqi.webp` },
      { label: "[爱心]", value: `${prefix}/static/emoji/aixin.webp` },
      { label: "[胜利]", value: `${prefix}/static/emoji/shengli.webp` },
      { label: "[抱拳]", value: `${prefix}/static/emoji/baoquan.webp` },
      { label: "[保佑]", value: `${prefix}/static/emoji/baoyou.webp` },
      { label: "[支持]", value: `${prefix}/static/emoji/zhichi.webp` },
    ],
  ],
  activeIndex: 1,
};

if (emoji) {
  let obj = emoji.emojiList.reduce((acc, cur) => {
    // @ts-ignore
    let arr = cur.filter((e) => e.type != "emoji");
    arr.forEach((e) => {
      // @ts-ignore
      acc[e.label] = e.value;
    });
    return acc;
  }, {});
  // @ts-ignore
  emoji.allEmoji = obj;
}

export default {
  ...emoji,
};
